package com.elsa.smart_buffet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.elsa.smart_buffet.pojo.Comsumer;
import com.elsa.smart_buffet.pojo.po.CategorySum;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

/**
 * @ClassName : CategorySumMapper  //类名
 * @Author : elsa //作者
 */
@Mapper
public interface CategorySumMapper extends BaseMapper<CategorySum>  {

    CategorySum getCategorySumByTimeAndCategory(@Param("date") String date, @Param("category") String category);

}
